package demo3;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        BufferedReader bufferedReader = new BufferedReader(new FileReader("src\\demo3\\mysql.properties"));
        String line="";
        while((line = bufferedReader.readLine())!=null){
            System.out.println(line);
            String[] split=line.split("=");
            System.out.println(split[0]+"的数值是："+split[1]);
        }
        bufferedReader.close();
    }
}
